import {
	Tools
} from 'weaver-mobile';

export const readRecord = (params = {}) => Tools.callApi({
	url: '/api/hrm/payroll/readRecord',
	method: 'GET',
	params
})

export const isNeedSecondPwdVerify = (params = {}) => Tools.callApi({
	url: '/api/hrm/finance/isNeedSecondPwdVerify',
	method: 'GET',
	params
})

export const checkSecondPassword = (params = {}) => Tools.callApi({
	url: '/api/hrm/finance/checkSecondPasword',
	method: 'POST',
	params
})

export const getSecondaryPasswordForm = (params = {}) =>Tools.callApi({
	url: '/api/hrm/finance/getSecondaryPasswordForm',
	method: 'GET',
	params
})

export const confirmRecord = (params = {}) => Tools.callApi({
	url: '/api/hrm/payroll/confirmRecord',
	method: 'POST',
	params
})

export const feedback = (params = {}) => Tools.callApi({
	url: '/api/hrm/payroll/feedback',
	method: 'POST',
	params
})
